﻿using Paas.App.Interface.Sys.Admin.Dtos;
using Basefr.App.Messages;

namespace Paas.App.Interface.Sys.Admin.Messages
{
    public class SearchUserInput : QueryPagedInput
    {
        public string Name { get; set; }
        public int OrganizationId { get; set; }

    }
    public class SearchUserOutput : QueryPagedOutput<UserDto> { }


    public class SaveUserInput : SaveInput<UserDto, long> { }
    public class SaveUserOutput : SaveOutput<UserDto, long> { }



    public class SearchRoleForUserInput : QueryInput
    {
        public long UserId { get; set; }
    }
    public class SearchRoleForUserOutput : QueryOutput<RoleForUserDto> { }



    public class AssignUserToRoleInput : IInput
    {
        public long UserId { get; set; }
        public int RoleId { get; set; }
    }
    public class AssignUserToRoleOutput : IOutput { }


    public class RemoveUserFromRoleInput : IInput
    {
        public long UserId { get; set; }
        public int RoleId { get; set; }
    }
    public class RemoveUserFromRoleOutput : IOutput { }



    public class ResetUserPasswordInput : IInput
    {
        public long Id { get; set; }
    }
    public class ResetUserPasswordOutput : IOutput { }


    public class DeleteUserInput : DeleteInput { }
    public class DeleteUserOutput : DeleteOutput { }
}

